import request from '@/utils/request'
export function getBrandList(data) {
    return request({
        url: '/General/get_brand_second',
        method: 'post',
        data: data
    })
}
export function store(data) {
    return request({
        url: "/General/get_store",
        method: "post",
        data: data
    })
}
export function house(data) {
    return request({
        url: "Stock_check/get_channel",
        method: "post",
        data:data
    })
}
// 列表
export function getList(data, page) {
    return request({
        url: '/Transfers_accessories/transfers_accessories_list/' + (page ? page : 1),
        method: 'post',
        data: data
    })
}
// 获取分页
export function getPage(data) {
    return request({
        url: '/Transfers_accessories/transfers_accessories_page',
        method: 'post',
        data: data
    })
}
export function addcar_submit(data) {
    return request({
        url: '/Transfers_accessories/add_accessories_to_cart',
        method: 'post',
        data: data
    })
}
export function car(data) {
    return request({
        url: '/Transfers_accessories/transport_cart_accessories',
        method: 'post',
        data: data
    })
}
export function delaccessories(data) {
    return request({
        url: '/Transfers_accessories/del_accessories_from_cart',
        method: 'post',
        data: data
    })
}
export function delCarList(data) {
    return request({
        url: '/Transfers_accessories/clean_cart_accessories',
        method: 'post',
        data: data
    })
}
// 提交
export function save(data) {
    return request({
        url: '/Transfers_accessories/accessories_transfers_stock_out',
        method: 'post',
        data: data
    })
}
// // 新增渠道
export function saveCana(data) {
    return request({
        url: '/Transfers_accessories/add_accessories_channel',
        method: 'post',
        data: data
    })
}
// 新增渠道下拉列表
export function get_house_type(data) {
    return request({
        url: '/Transfers_accessories/get_house_type',
        method: 'post',
        data: data
    })
}
export function get_goods_type(data){
    return request({
        url: '/Purchase_accessories/get_goods_type',
        method: 'post',
        data: data
    })
}
